rsvg.c.types

Undocumented in source.

Public Imports

cairo.c.types
public import cairo.c.types;
Undocumented in source.
gdkpixbuf.c.types
public import gdkpixbuf.c.types;
Undocumented in source.
gio.c.types
public import gio.c.types;
Undocumented in source.
glib.c.types
public import glib.c.types;
Undocumented in source.
gobject.c.types
public import gobject.c.types;
Undocumented in source.

Members

Aliases

Error
alias Error = RsvgError
Undocumented in source.
HandleFlags
alias HandleFlags = RsvgHandleFlags
Undocumented in source.
LIBRSVG_MAJOR_VERSION
alias LIBRSVG_MAJOR_VERSION = MAJOR_VERSION
Undocumented in source.
LIBRSVG_MICRO_VERSION
alias LIBRSVG_MICRO_VERSION = MICRO_VERSION
Undocumented in source.
LIBRSVG_MINOR_VERSION
alias LIBRSVG_MINOR_VERSION = MINOR_VERSION
Undocumented in source.
LIBRSVG_VERSION
alias LIBRSVG_VERSION = VERSION
Undocumented in source.
RsvgSizeFunc
alias RsvgSizeFunc = void function(int* width, int* height, void* userData)

Function to let a user of the library specify the SVG's dimensions

Unit
alias Unit = RsvgUnit
Undocumented in source.

Enums

RsvgError
enum RsvgError

An enumeration representing possible errors

RsvgHandleFlags
enum RsvgHandleFlags

Configuration flags for an [class@Rsvg.Handle]. Note that not all of [class@Rsvg.Handle]'s constructors let you specify flags. For this reason, [ctor@Rsvg.Handle.new_from_gfile_sync] and [ctor@Rsvg.Handle.new_from_stream_sync] are the preferred ways to create a handle.

RsvgUnit
enum RsvgUnit

Units for the RsvgLength struct. These have the same meaning as [CSS length units](https://www.w3.org/TR/CSS21/syndata.html#length-units).

Manifest constants

MAJOR_VERSION
enum MAJOR_VERSION;

This is a C macro that expands to a number with the major version of librsvg against which your program is compiled.

MICRO_VERSION
enum MICRO_VERSION;

This is a C macro that expands to a number with the micro version of librsvg against which your program is compiled.

MINOR_VERSION
enum MINOR_VERSION;

This is a C macro that expands to a number with the minor version of librsvg against which your program is compiled.

VERSION
enum VERSION;

This is a C macro that expands to a string with the version of librsvg against which your program is compiled.

Structs

RsvgDimensionData
struct RsvgDimensionData

Dimensions of an SVG image from [method@Rsvg.Handle.get_dimensions], or an individual element from [method@Rsvg.Handle.get_dimensions_sub]. Please see the deprecation documentation for those functions.

RsvgHandle
struct RsvgHandle
Undocumented in source.
RsvgHandleClass
struct RsvgHandleClass

Class structure for [class@Rsvg.Handle].

RsvgLength
struct RsvgLength

RsvgLength values are used in [method@Rsvg.Handle.get_intrinsic_dimensions], for example, to return the CSS length values of the width and height attributes of an <svg> element.

RsvgPositionData
struct RsvgPositionData

Position of an SVG fragment from [method@Rsvg.Handle.get_position_sub]. Please the deprecation documentation for that function.

RsvgRectangle
struct RsvgRectangle

A data structure for holding a rectangle.

Meta